﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HomeBudget
{
    public struct Category
    {
        private string nameOfCategory;
        public Category(string nameOfCategory)
        {
            this.nameOfCategory = nameOfCategory;
        }
        public string Name
        {
            get
            {
                return this.nameOfCategory;
            }
            set
            {
                this.nameOfCategory = value;
            }
        }

        public override string ToString()
        {
            return this.nameOfCategory;
        }
    }
}
